package com.zjt.entity.codecenter;

import com.zjt.entity.BaseEntity;
import com.zjt.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-24
 * Time: PM2:03
 * 物码中心产品信息类型定义
 * To change this template use File | Settings | File Templates.
 */

@Entity
//表名与类名不相同时重新定义表名.
@Table(name="s_center_product")
public class CenterProduct extends BaseEntity{
    private String gtin; //全球唯一标识,14位数字
    private String itemName;   //商品名称
    private String brandName; //商标名称
    private String specification;  //产品规格
    private String shortDescription; //产品短描述
    private String description; //产品描述
    private String height;    //外包装高度
    private String width;  //外包装宽度
    private String depth; //包包装深度
    private String netContent;//净含量
    private String grossWeight; //毛重
    private String netWeight; //净重
    private String packagingTypeCode;// 包装类型代码
    private String packagingMaterialCode;   //包装材料代码q
    private String classCode; //产品分类代码
    private String extension; //基础属性之外的其他属性扩展

    //企业相关信息
    private String firmName; //企业名称
    private String address;  //企业地址
    private String firmExtension; //其他属性扩展

    public String getFirmName() {
        return firmName;
    }

    public void setFirmName(String firmName) {
        this.firmName = firmName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFirmExtension() {
        return firmExtension;
    }

    public void setFirmExtension(String firmExtension) {
        this.firmExtension = firmExtension;
    }

    public String getGtin() {
        return gtin;
    }

    public void setGtin(String gtin) {
        this.gtin = gtin;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getShortDescription() {
        return shortDescription;
    }

    public void setShortDescription(String shortDescription) {
        this.shortDescription = shortDescription;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getDepth() {
        return depth;
    }

    public void setDepth(String depth) {
        this.depth = depth;
    }

    public String getNetContent() {
        return netContent;
    }

    public void setNetContent(String netContent) {
        this.netContent = netContent;
    }

    public String getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(String grossWeight) {
        this.grossWeight = grossWeight;
    }

    public String getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(String netWeight) {
        this.netWeight = netWeight;
    }

    public String getPackagingTypeCode() {
        return packagingTypeCode;
    }

    public void setPackagingTypeCode(String packagingTypeCode) {
        this.packagingTypeCode = packagingTypeCode;
    }

    public String getPackagingMaterialCode() {
        return packagingMaterialCode;
    }

    public void setPackagingMaterialCode(String packagingMaterialCode) {
        this.packagingMaterialCode = packagingMaterialCode;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    @Override
    public String toString() {
        return "CenterProduct{" +
                "gtin='" + gtin + '\'' +
                ", itemName='" + itemName + '\'' +
                ", brandName='" + brandName + '\'' +
                ", specification='" + specification + '\'' +
                ", shortDescription='" + shortDescription + '\'' +
                ", description='" + description + '\'' +
                ", height='" + height + '\'' +
                ", width='" + width + '\'' +
                ", depth='" + depth + '\'' +
                ", netContent='" + netContent + '\'' +
                ", grossWeight='" + grossWeight + '\'' +
                ", netWeight='" + netWeight + '\'' +
                ", packagingTypeCode='" + packagingTypeCode + '\'' +
                ", packagingMaterialCode='" + packagingMaterialCode + '\'' +
                ", classCode='" + classCode + '\'' +
                ", extension='" + extension + '\'' +
                ", firmName='" + firmName + '\'' +
                ", address='" + address + '\'' +
                ", firmExtension='" + firmExtension + '\'' +
                '}';
    }
}
